<g:form name="formlist" action="batchdel">
    <div  class="buttons"  align="right" >  
        <input type="submit" class="batchdel"  onclick="return confirm('你确认删除？');" value="批量删除" />
    </div>
<table>
    <thead>
        <tr>
            <th valign="middle"><g:checkBox class="sel" id="rsel"  name="rsel"></g:checkBox>选择</th>

            <g:sortableColumn property="id" title="系统日志编号" />

            <g:sortableColumn property="time" title="时间" />

            <g:sortableColumn property="remark" title="备注" />

            <g:sortableColumn property="userName" title="用户名" />

        </tr>
    </thead>
    <tbody>
        <g:each in="${systemLogInstanceList}" status="i" var="systemLogInstance">
            <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">

                <td><g:checkBox name="sel" class="sel" checked="false"  value="${systemLogInstance?.id}"></g:checkBox> </td>

                <td><g:link action="show" id="${systemLogInstance.id}">${fieldValue(bean:systemLogInstance, field:'id')}</g:link></td>

                <td>${fieldValue(bean:systemLogInstance, field:'time')}</td>

                <td>${fieldValue(bean:systemLogInstance, field:'remark')}</td>

                <td>${fieldValue(bean:systemLogInstance, field:'userName')}</td>

            </tr>
        </g:each>
    </tbody>
</table>
</g:form>